<template>
	<view>
		<view class="box bgcolorA" @click="door">
			<image :src="$wanlshop.oss(seele.page_conf.releas_img_1)" mode="widthFix" class="rightImg"></image>
			<view class="all">
				<view class="con">
					<view class="name">上门服务</view>
					<image src="../../../static/images/cc/next.png" mode="widthFix" class="nextImg"></image>
				</view>
				<view class="text colrA">海量优质服务商随时响应需求</view>
			</view>
		</view>
		<view class="box bgcolorB" @click="car">
			<image :src="$wanlshop.oss(seele.page_conf.releas_img_2)" mode="widthFix" class="rightImg"></image>
			<view class="all">
				<view class="con">
					<view class="name">叫车服务</view>
					<image src="../../../static/images/cc/next.png" mode="widthFix" class="nextImg"></image>
				</view>
				<view class="text colrB">等待司机急速响应</view>
			</view>
		</view>
		<view class="box bgcolorC" @click="order">
			<image :src="$wanlshop.oss(seele.page_conf.releas_img_3)" mode="widthFix" class="rightImg"></image>
			<view class="all">
				<view class="con">
					<view class="name">服务订单</view>
					<image src="../../../static/images/cc/next.png" mode="widthFix" class="nextImg"></image>
				</view>
				<view class="text colrC">查看我发布的订单响应情况</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {mapState} from 'vuex';
	export default {
		computed: {...mapState(['seele'])},
		data() {
			return {

			}
		},
		methods: {
			door() {
				uni.navigateTo({
					url: '/pages/dispatch/release/release'
				})
			},
			car() {
				uni.navigateTo({
					url: '/pages/dispatch/callCar/callCar'
				})
			},
			order() {
				uni.navigateTo({
					url: '/pages/dispatch/order/order'
				})
			}
		}
	}
</script>

<style>
	page {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}

	.bgcolorA {
		background-color: #FDEBE9;
	}

	.bgcolorB {
		background-color: #ECF3FE;
	}

	.bgcolorC {
		background-color: #F8EEFD;
	}

	.box {
		width: 626rpx;
		height: 221rpx;
		border-radius: 20rpx;
		margin-top: 54rpx;
		position: relative;
		overflow: hidden;
	}

	.rightImg {
		width: 626rpx;
		height: 201rpx;
		position: absolute;
		top: 0;
		left: 0;
	}

	.all {
		margin-left: 42rpx;
		position: relative;
		display: flex;
		align-content: center;
		flex-wrap: wrap;
		height: 201rpx;
	}

	.con {
		width: 100%;
		display: flex;
		align-items: center;
	}

	.name {
		font-size: 33rpx;
		color: #333333;
	}

	.nextImg {
		width: 32rpx;
		height: 32rpx;
		/* margin-top: 8rpx; */
		margin-left: 12rpx;
	}

	.text {
		font-size: 30rpx;
		margin-top: 16rpx;
	}

	.colrA {
		color: #84BD00;
	}

	.colrB {
		color: #84BD00;
	}

	.colrC {
		color: #B857E8;
	}
</style>